home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000020_anthonypieper@cs.com_Wed Nov 26 11:07:25 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem in Kermit trying to get a file while sending it at the same time
  5. Date: 26 Nov 2003 07:31:10 -0800
  6. Organization: http://groups.google.com
  7. Lines: 53
  8. Message-ID: <f0bb0f39.0311260731.11d9eb29@posting.google.com>
  9. References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 209.251.39.194
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1069860670 26836 127.0.0.1 (26 Nov 2003 15:31:10 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Wed, 26 Nov 2003 15:31:10 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14696
  17.  
  18. Looking at Case Study #10, this tells me there would need to be two
  19. scripts running, 1 on the Branch machine to "send" the files and 1 on
  20. the HQ machine to "set receive" the files.
  21.  
  22. My case is a little different, my HQ machine is the one running the
  23. Kermit Script (logging onto the Branch machine, changing to the
  24. directory where the file resides on the remote machine and doing a
  25. mget * command), so this example may not help me, unless I broke up
  26. the scripts into two.
  27.  
  28. The issue with doing that is the Branch machine is a secure ftp server
  29. and cannot communicate over to the HQ machine for security reasons.
  30. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>...
  31. > In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
  32. > newexpectuser wrote:
  33. > : I ran across this error as the scenerio describes. Both are trying to
  34. > : connect using SSH and CKERMIT.
  35. > : 
  36. > : I am running a Kermit script called DROPOFF trying to send TESTFILE to
  37. > : a remote server (it is a 2meg file) at the same time I am running a
  38. > : Kermit PICKUP trying to mget files (including the TESTFILE) from this
  39. > : same server in the same directory.
  40. > : 
  41. > : What is happening is, PICKUP ends first and has a partial file of
  42. > : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then
  43. > : comes back with the error message "Last error:  FAILURE: Error writing
  44. > : data" and it keeps around the partial file (74% of it).
  45. > : 
  46. > : I'm not sure why this is happening and how to avoid it. It is a
  47. > : realtime scenerio where somebody may be dropping off a file in a
  48. > : directory, while the other script is trying to get all the files out
  49. > : of this directory.
  50. > : 
  51. > You answered your own question:
  52. > : I am running a Kermit script called DROPOFF trying to send TESTFILE to
  53. > : a remote server (it is a 2meg file) at the same time I am running a
  54. > : Kermit PICKUP trying to mget files (including the TESTFILE) from this
  55. > : same server in the same directory.
  56. > The server does not have permission to write to a file that another 
  57. > process has open for reading.  Nor would you want it to!  Please read
  58. > about transaction processing here:
  59. >   http://www.columbia.edu/kermit/case10.html
  60. > and here:
  61. >   http://www.columbia.edu/kermit/ftpscripts.html#tp
  62. > to see the kinds of things you need to do.
  63. > - Frank
  64.